package cn.iocoder.yudao.module.alipay.convert.cpsactivity;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.alipay.controller.admin.cpsactivity.vo.*;
import cn.iocoder.yudao.module.alipay.dal.dataobject.cpsactivity.CpsActivityDO;

/**
 * cps活动 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface CpsActivityConvert {

    CpsActivityConvert INSTANCE = Mappers.getMapper(CpsActivityConvert.class);

    CpsActivityDO convert(CpsActivityCreateReqVO bean);

    CpsActivityDO convert(CpsActivityUpdateReqVO bean);

    CpsActivityRespVO convert(CpsActivityDO bean);

    List<CpsActivityRespVO> convertList(List<CpsActivityDO> list);

    PageResult<CpsActivityRespVO> convertPage(PageResult<CpsActivityDO> page);

    List<CpsActivityExcelVO> convertList02(List<CpsActivityDO> list);

}
